package com.zhuoyue.biz.core.api.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuoyue.biz.core.api.domain.EavizVerificationcode;
import com.zhuoyue.biz.core.api.domain.EavizVerificationcodeDO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author wjming
 * @ClassName: EavizVerificationcodeMapper
 * @Description:萤石验证码CURD
 * @Date 2021-06-24 19:39
 */
public interface EavizVerificationcodeMapper extends BaseMapper<EavizVerificationcode> {
    /**
     * 通过序列号查询摄像头验证码
     * @param serialNum
     * @return 验证码
     */
    @Select("select verification_code from tbl_eaviz_verificationcode where serial_num=#{serialNum}")
    String selectVerifiCationCode(@Param("serialNum") String serialNum);
}